def run(params:list[str]):
    from ApiTools import apiTools,apiBase
    try:
        prefix=apiBase.argv(params,1,'prefix')
        dirs=apiBase.argv_array(params,2,'/home/softrobot/llm/qwne05/tools;',';')
        tol = apiTools.load_tol()
        for dir in dirs:
            tol.load_dir(prefix,dir)
        return 'load file ok'
    except Exception as e:
        return f"function error:{e}"

#run([])